Repository navigation
Rename to Protocolith and add the stdlib-only core - #413
Merged
Merged
Conversation
Removes the peer-comparison card (registry sequence 8073), its protocol charter, artifacts, two runner scripts, the atlas link and the Pages workflow entries at the owner's decision. The registry now holds 8072 cards; statistics and static views were regenerated. AGENTS.md records the ban. The removed files remain in git history; history was not rewritten. Signed-off-by: Rost S. <63606118+NeoZorK@users.noreply.github.com>
Package, module and command are now protocolith (short alias plith). Evidence ids use the PLITH- prefix; every migrated card keeps its old id in legacy_evidence_id and docs/MIGRATION_ID_MAP.json records old and new ids with file hashes. Files whose hashes are quoted by other records (frozen artifacts, claim matrices) and the changelog and provenance history keep the old name. The migration tool is scripts/migrations/rename_to_protocolith.py. The core now uses only the standard library: numpy moved to the runners extra and the PDF libraries to the campaign extra; commands that need them say what to install. Python 3.11 to 3.15 are supported and the CI matrix covers them on Linux, macOS and Windows. A test fixture no longer depends on the developer's git signing setup. Adds the core specification draft (docs/spec/CORE_SPEC.md), new logo and demo assets, and rewrites the related-work page for the new name. Verified locally: protocolith validate-all and 249 tests pass on Python 3.11, 3.13 and 3.15; ruff is clean. Signed-off-by: Rost S. <63606118+NeoZorK@users.noreply.github.com>
Local runs stay to quick host checks (unit tests, ruff); the matrix is covered by .github/workflows/tests.yml. Signed-off-by: Rost S. <63606118+NeoZorK@users.noreply.github.com>
… and issue protocolith.core implements docs/spec/CORE_SPEC.md with the standard library only: PCJ-1 canonical JSON, a hash-chained append-only ledger with an exclusive lock and crash repair, rules R1 to R11 with stable error codes, freeze/record/deviation/verify/issue operations, card issuing through the existing validator and renderer, and a minimal MCP server over stdio. New CLI commands: freeze, record, deviation, verify-ledger, issue, log, head, repair, mcp. Conformance vectors are generated by scripts/build_core_vectors.py into spec/vectors/ and checked against the implementation. The core tests reach 100% line and branch coverage of protocolith.core; mypy --strict and ruff are clean. The spec now lists limits, issuing rules and error codes. Signed-off-by: Rost S. <63606118+NeoZorK@users.noreply.github.com>
…d, card-validation fixes Signed-off-by: Rost S. <63606118+NeoZorK@users.noreply.github.com>
…art example Signed-off-by: Rost S. <63606118+NeoZorK@users.noreply.github.com>
…ence ids unique per record Signed-off-by: Rost S. <63606118+NeoZorK@users.noreply.github.com>
…or a card registry, with optional UI languages Signed-off-by: Rost S. <63606118+NeoZorK@users.noreply.github.com>
Signed-off-by: Rost S. <63606118+NeoZorK@users.noreply.github.com>
Signed-off-by: Rost S. <63606118+NeoZorK@users.noreply.github.com>
… for examples Signed-off-by: Rost S. <63606118+NeoZorK@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Renames the project to Protocolith and adds a small stdlib-only core.
protocolith), CLI (protocolith,plith), evidence ids (PLITH-prefix) with a verifiable old-to-new map (docs/MIGRATION_ID_MAP.json). Files pinned by hash were left untouched.protocolith.core): canonical JSON (PCJ-1), hash-chained ledger, rules R1-R11, freeze / record / deviation / verify / issue,summary,show,capture,schema,init,atlas, MCP server, conformance vectors,--expect-head.docs/spec/CORE_SPEC.md).Notes for review
The large file count comes from renaming about 8,000 evidence cards and their SVGs (ids changed); review the commits one by one rather than the aggregate diff.
No runtime dependencies for the core. Version stays 0.5.0 here; the 0.6.0 bump follows in a separate PR.